#pragma once
#include <boost/asio.hpp>
#include <iostream>
int client_end_point();
int server_end_point();
int create_tcp_socket();
int create_acceptor_socket();
int bind_acceptor_socket();
int connect_to_end();
int dns_connect_to_end();
int accept_new_connect();
void use_buffer_array();
void write_to_socket(boost::asio::ip::tcp::socket& sock);
int send_by_writesome();
int send_by_send();
std::string read_by_socket(boost::asio::ip::tcp::socket& sock);
int read_by_readsome();
int read_by_receive();